SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9767c8d49af3811f3007745c020fce9abc95234366474cc8c81e584f5cf2dd82' 
  AND token = 'fNyesRjin4XCKlY1aX3JAkMtx7rzjiX5dU8MLKJwlH0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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