SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9aaaa20af22b3bb6602b870002219e190ce12970cdfd6749c1878b6497d6342b' 
  AND token = 'DX7fizstDzZY1Vo2nnax/ojx3m6jJQ+8y5rpE5Kf8G0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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