SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '10d8412f4839f9d2888a87978ce81afc3ccddd0caa7a75d03b23689b29d314b7' 
  AND token = '5/So27epnaQ2EILDB7AYr1P0Jemyj8R5nGuwKTNfJUY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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