SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e5025a7dc46716c3f2e57011e3c6ab4402c08a3833610cf77d9dccbbd7f064a5' 
  AND token = 'jJ4wAepk1RF2+CJHwkmK3Jh6YMvZesp5GIFAEqfVioQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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