SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9d2bc228698346d7cb258da74b7f0297b721267d7266881f61017900f07c5f82' 
  AND token = 'a4fjyjnKT5LRMLqG+i2DJEy4S0WK/YClqcqfoI+/5Xc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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