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

Query time 0.00025

JSON explain

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