SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ce32734a45dda2bf05c895c6d1b1ab5642eaebf74250c2a953dd018b0fca3c9' 
  AND token = 'YEYaheVxSvoDZHbCCgSDAmQLoQ9ypl4iYsAXeNQqs5c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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