SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c5f374d580e3af73c338dd656e67fc09a2cd38072090cd7a293dbf4c9151c459' 
  AND token = 'Nzv5cpGf57v9zHAMU3O183BdZWain1BRbzIjzWZjTVU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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