SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '339d3fb203016a321d1f0f47b094c070f8965bd15ad60e2ff39b9c3f2762a089' 
  AND token = 'H5f9zVWCCQ+9fMRLizc4Mp+5z2m+XKSFQGzUqi3H2+Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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