SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5e0ec7f195da32498e3284b77715ca59cc2960ed8c85d30503b47645c4d8126c' 
  AND token = 'hc5yJjiVwaKquHxt9Pxt8+a93+wc+87nXnC9oeUijbg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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