SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9af163b1bdb7fca11a408ca998d584d90c99e4ea463a9d88f4a463ae105aadb0' 
  AND token = 'Z686KiqL5Iwu9kzB8ibYC4ZZH4qlr6I1XOe2gqGt6lE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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