SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bacd3ee9d0d2efdf35a8cdcc676f1b24368a093a3267c206d2ef6d02f2321bc6' 
  AND token = 'nBlcqgQEN3zU2FeNmLHYrgy+1Y0cfC7xVe4GllZf9Ys=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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