SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '07b07e289e43e80654bfc41cb99c5962d8e9351e748d3e186bae517d4ff5c180' 
  AND token = '9f5BEj5KELWB3xaXPlq5su1mpngENcUMnMGbNrauE6E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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