SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c40935a38c7980727f17ccbbd18f51737cdd2c88c4999798d73b40db41279b4b' 
  AND token = 'jhvzVV16H3T4V1ylAqx8J8+bL3zPumVLGUme9uacrOU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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