SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '963000653073444f18fc52c65a5f6085567b857fde08f077f1a0cdde311acb9a' 
  AND token = 'LQtrX6sT8qVffGk0fgJ2UuRtNon8TwlLCQ838I0uxhA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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