SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bc18feac0e9d86ffe5a0017bf8c229ba587c574f6c6db7cb1c3780c53b948d8c' 
  AND token = 'shkPP76+MdibwzHrJWtkr6Y0i9m07BKxtaLUFgVYM2M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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