SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '00b51135e5e9d75b05a2fa55b1d3c07dbf621906e3f0dfd726d48de1380a35a1' 
  AND token = 'Kc2FiAS1+dyW6YpfO57RdIFmkJwmHElKDJ8F3L1sKNc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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