SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7663e84cd478ba2592541b955f612062de97285db91ae19b31427ef9c20ef323' 
  AND token = 'YUY0eiNLfo4sVqA2r9IcZ+7d+rUg/Pnr70FzGyC+fhc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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