SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c0179983bdbbb19009039dbfe1019daba02a6979da997266634fb1bbd4cdd555' 
  AND token = 'GQll8NbcSQ0wvLHgGGD3NGLSuk0zWHz+lq13igKXugQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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