SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5949019d82f02c616fc32a5d5e01e48939b306e2b481f0dcc60de8fcf8962a9c' 
  AND token = 'ntaWTU7qcyI4B2sk+7axyTAYhfmUVgoX5gRElXQwJAc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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