SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cefcdc257c5606983add010e44213391fbd1675a6c87ca9b8989dec7760ce341' 
  AND token = 'hqD/bs7G5HMB+s4/IF4y5gPsqbouvBn+PF7i+/JBr1s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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