SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0d1c17926c2beb95ea2e18e0ca987c1b1dce23052a2f175af5db29176f9c24b4' 
  AND token = 'vpYXdvdWeZDDPJ9+fFL0kLSOXW4zLtpkP37tj380+2A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00054

JSON explain

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