SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e8a855e6b413231afa72d36ca94f709636c840da32c83e850d955135e24345d2' 
  AND token = 'EnkeZT2n654xfBW8F/Cf4CNRaNdN1NNhAMD3fNK3szI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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