SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a5c6f829bbb479ce6442f82c55981da9e00007cd87ef8455357affcf7d019a58' 
  AND token = 'dWkQj/RiTPn7Mz+DUgK1bAqy/oRY1NH2Sv7ElSQW7RQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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