SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6231760c2d6e5e92baab5c7b1a3855c5af454f4039de556d65c70f0a66eec93a' 
  AND token = 'lB+toom9ggmwcjGcFe77u/Oik6DWqF3kIPlnmamRLl8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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