SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5fd11b14c1a20a5c716c2eb54b96fb73634cde354cf8739f34cf1ab2f548b359' 
  AND token = 'u77hFpwU2ipepBkTbwCpwUp6mYJ/QsQLMmr+1XZ/zY8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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