SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'baeeed1e586138d1eebeadbbeaaa313f0b903f5b27c6457eaab5d6004afeab32' 
  AND token = 'QRkisSGj1+Nr81Y5n0JYbuXf7x/qzFRDamL+lZLO0ps=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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