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

Query time 0.00033

JSON explain

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