SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fbb8acff06c32bd8d613c9e990df46f6b1b678eabba545c343c6ebe5a9a36da9' 
  AND token = 'EKu1L/SC+sr6DnQ2ywi/3yRl4UHWDfrhvf0pKVU7CP4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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