SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f4eff65087167d2d7a7e7ec235c8af362e542969452f2830c831c00847711ccb' 
  AND token = '5uHK7NbWBCokCPfDbP4HwFwhEV14cI9JoGJ6dOSDpKs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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