SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '909b8c5871f5e14f9425d1390304246ce79dab09a0fa071e0dc3d960e1e31270' 
  AND token = 'rp5PeKxYeAjYUP0Yt0sSr0NJhXKBXTUiA5Wp7lXX5cU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}