SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8e6974abc305b796efd4b9469160eb1b543d8b6c09d14463ded577401a451cba' 
  AND token = 'DjVyofp9uGbO3gjSrBD8Hgtah4kYKuLZ6dLG9fZFPH4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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