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

Query time 0.00042

JSON explain

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